<?php

/**
 * Generated Model class.
 */
class Base_CommentSubstanceTypeRow extends Db_Row
{

    /**
     * Set new value for comment_substance_type.id column in current Row.
     * 
     * @param int $IdFromCommentSubstanceTypeRow
     * @return void
     */
    public function setId($Id)
    {
        $this->__set("id", $Id);
    }

    /**
     * Return comment_substance_type.id column value in current Row.
     * 
     * @return int
     */
    public function getId()
    {
        return $this->__get("id");
    }

    /**
     * Set new value for comment_substance_type.table column in current Row.
     * 
     * @param char $TableFromCommentSubstanceTypeRow
     * @return void
     */
    public function setTable($Table)
    {
        $this->__set("table", $Table);
    }

    /**
     * Return comment_substance_type.table column value in current Row.
     * 
     * @return char
     */
    public function getTable()
    {
        return $this->__get("table");
    }

    /**
     * Return dependent rowset from table Comment where Comment.SubstanceTypeId
     * reference to comment_substance_type table
     * 
     * @param Db_Select $select FromComment
     * @return Zend_Db_Table_Rowset_Abstract
     */
    public function getCommentRowsetBySubstanceTypeId($select = null)
    {
        return $this->findDependentRowset('CommentPeer', null, $select);
    }


}

